/* 一些全局都用到的样式 */

/* table基础样式 */
.diy-table {
  .control-btn {
    font-size: 14px;
    cursor: pointer;

    &.green {
      color: #00a854;
    }

    &.red {
      color: #f33;
    }

    &.blue {
      color: #06c;
    }
  }

  .ant-pagination {
    margin-right: 20px;
  }

  td {
    min-width: 50px;
    max-width: 300px;
  }
}

/* 全局search基础样式 */
.g-search {
  display: flex;
  align-items: center;
  margin-bottom: 8px;

  .ant-divider {
    margin: 0 20px;
  }

  .search-func {
    display: flex;
  }

  .search-ul {
    display: flex;

    & > li {
      margin-right: 4px;
      padding: 2px;

      & > span:first-child {
        display: inline-block;
        min-width: 90px;
        margin-right: 10px;
        text-align: right;
      }
    }

    &.btns {
      padding-top: 4px;
      border-top: solid 1px #f0f0f0;
    }
  }
}

.ant-tooltip {
  min-width: 30px;
}
